\doxysection{Write类 参考}
\hypertarget{class_write}{}\label{class_write}\index{Write@{Write}}


{\ttfamily \#include $<$Write.\+h$>$}

类 Write 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_write}
\end{center}
\end{figure}
\doxysubsubsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
virtual void \mbox{\hyperlink{class_write_adfc84ca4148b370b24c52ea42aed2928}{write}} (std\+::string\+\_\+view msg, std\+::string\+\_\+view file\+Name, std\+::string\+\_\+view file\+Path)=0
\item 
virtual \mbox{\hyperlink{class_write_a2776e64bb5f022509f7ab10d9e19eec5}{\texorpdfstring{$\sim$}{\string~}\+Write}} ()=default
\end{DoxyCompactItemize}


\doxysubsection{详细描述}
\begin{DoxyAuthor}{作者}
liangxi 
\end{DoxyAuthor}
\begin{DoxySince}{自从}
2024/3/21 
\end{DoxySince}


\doxysubsection{构造及析构函数说明}
\Hypertarget{class_write_a2776e64bb5f022509f7ab10d9e19eec5}\index{Write@{Write}!````~Write@{\texorpdfstring{$\sim$}{\string~}Write}}
\index{````~Write@{\texorpdfstring{$\sim$}{\string~}Write}!Write@{Write}}
\doxysubsubsection{\texorpdfstring{\texorpdfstring{$\sim$}{\string~}Write()}{\string~Write()}}
{\footnotesize\ttfamily \label{class_write_a2776e64bb5f022509f7ab10d9e19eec5} 
virtual Write\+::\texorpdfstring{$\sim$}{\string~}\+Write (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [default]}}



\doxysubsection{成员函数说明}
\Hypertarget{class_write_adfc84ca4148b370b24c52ea42aed2928}\index{Write@{Write}!write@{write}}
\index{write@{write}!Write@{Write}}
\doxysubsubsection{\texorpdfstring{write()}{write()}}
{\footnotesize\ttfamily \label{class_write_adfc84ca4148b370b24c52ea42aed2928} 
virtual void Write\+::write (\begin{DoxyParamCaption}\item[{std\+::string\+\_\+view}]{msg}{, }\item[{std\+::string\+\_\+view}]{file\+Name}{, }\item[{std\+::string\+\_\+view}]{file\+Path}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

输出日志，后两个参数在向控制台输出时无效 
\begin{DoxyParams}{参数}
{\em msg} & 输出信息 \\
\hline
{\em file\+Name} & 输出文件名 \\
\hline
{\em file\+Path} & 输出路径 \\
\hline
\end{DoxyParams}


在 \mbox{\hyperlink{class_write_to_console_ae11a22a35ed6928b319f32cdc0eb408e}{Write\+To\+Console}} , 以及 \mbox{\hyperlink{class_write_to_file_a1f609bf9fb4e50cbd957fb66ca5ae318}{Write\+To\+File}} 内被实现.



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Log/\+Header/\+Behavior/\+Write/\mbox{\hyperlink{_write_8h}{Write.\+h}}\end{DoxyCompactItemize}
